package com.arcbbs.service;

import com.arcbbs.entity.ForumComment;
import com.arcbbs.entity.ForumCommentQuery;
import com.arcbbs.result.PageResult;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

@Service
public interface ForumCommentService {


    List<ForumComment> findListByParam(ForumCommentQuery param);



    Integer findCountByParam(ForumCommentQuery param);


    ForumComment getForumCommentById(Integer commentId);

    void changetoptype(String userId, Integer commentId, Integer topType);


    void postcomment(ForumComment forumComment, MultipartFile image);

    PageResult selectbypage(Integer pageNo);
}
